package com.soso.base.google.hessian;


public abstract class AbstractBaseHessianMap implements HessianMap{
	
	public AbstractBaseHessianMap(){
		registerSubscribers();
	}
	private Class<?> homeAPI;
	private Object homeImpl;
	
	@Override
	public void subscribe(Class<?> _homeAPI,
			Object _homeImpl) {
		this.homeAPI=_homeAPI;
		this.homeImpl=_homeImpl;
	}
	protected abstract void registerSubscribers() ;

	public Class<?> getHomeAPI() {
		return homeAPI;
	}
	public Object getHomeImpl() {
		return homeImpl;
	}
}
